<div class="modal-content">
  <div class="modal-header">
    <h4 class="modal-title" >修改角色/分组</h4>
    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
      <span aria-hidden="true">×</span>
    </button>
  </div>
  
  <div class="modal-body">
	 	<div id="role">
	 		<div class="form-group row">
				<label class="col-sm-2 col-form-label">分组</label>
				<div class="col-sm-10">
					<select class="form-control" ng-options="role.id as role.name for role in roles" ng-model="form.fk_group">
						 <option value="">==请选择==</option>
					 </select>
				</div>
			</div>
	 		<div class="form-group row">
				<label class="col-sm-2 col-form-label">角色名称</label>
				<div class="col-sm-5">
			    	<input ng-model="form.name" type="text" placeholder="角色名称" form-check="must" form-check-alert="请输入角色名称"  class="form-control" />
				</div>
				<label class="col-sm-1 col-form-label">级别</label>
				<div class="col-sm-4">
					<select class="form-control" ng-model="form.type" form-check="must" form-check-alert="请选择角色级别" >
		                <option value="0">系统级</option>
		                <option value="1">市区级</option>
		                <option value="2">学校级</option>
		                <option value="3">学生级</option>
		            </select>		
		        </div>
			</div>
		</div>
		<div id="roleG" style="display:none;">
			<div class="form-group row">
				<label class="col-sm-2 col-form-label">分组名称</label>
				<div class="col-sm-4">
					<input  ng-model="form.gname" type="text" placeholder="分组名称" class="form-control" />
				</div>
			</div>
		</div>
	</div>
  <div class="modal-footer">
  	<button ng-click="saveForm()" type="button" class="btn btn-success"><i class="iconfont icon-correct"></i>&nbsp;保存</button>
  </div>
</div>